﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using netCoreStudy.Attr.QueryAttr;
using netCoreStudy.Entities.Base;
using netCoreStudy.Enum;
using RestSharp;

namespace netCoreStudy.Entities
{
	/// <summary>
	/// 菜单 
	/// </summary>
	public class Menu : BaseEntity
	{
		/// <summary>
		/// 父Id 
		/// </summary>
		public long PId { get; set; }

		/// <summary>
		/// 菜单名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 路由地址 (同时可拼接.vue的路径) 
		/// </summary>
		public string Path { get; set; }

		/// <summary>
		/// 图标名称   
		/// </summary>
		public string Icon { get; set; }

		/// <summary>
		/// 排序 越小越 前面 
		/// </summary>
		public int OrderSort { get; set; }

		/// <summary>
		/// 侧边路由是否隐藏(404界面用)
		/// </summary>
		public int IsHidden { get; set; }
	}
}